class Level:
    def __init__(self, spawner, target, getCurrent, reward, description):
        self.spawner = spawner
        self.target = target
        self.getCurrent = getCurrent
        self.reward = reward
        self.description = description
        self.goalType = "More Kills"
        self.clearAtEnd = False
        self.resetStatsAtEnd = True
        self.background_color = None
        self.music = None
    def isLevelComplete(self):
        return self.getCurrent() >= self.target
    def getRemaining(self):
        return self.target - self.getCurrent()
